import { useTypographyStyles } from './styles.tsx';

import type { FC, ReactNode } from 'react';

interface IHeaderTextProps {
    children: ReactNode
}

export const HeaderText: FC<IHeaderTextProps> = ({ children }) => {
    const { styles } = useTypographyStyles();
    return (
        <div className={styles.headerText}>
            {children}
        </div>
    );
};
